﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TMV.Report
{
	public class Start
	{
		public void StartConnent(Real udata)
		{
            Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
            var tran = new DataTransform();
			ServiceTruck.TruckWeightInterfaceClient jws = new ServiceTruck.TruckWeightInterfaceClient();
			ServiceTruck.TransDataResponse result = jws.TransDataAsync(tran.user, tran.password, tran.DataDesc(udata.ID.ToString(), udata.CHEPH), tran.XMLData(udata)).GetAwaiter().GetResult();
		}
	}
}
